home *** CD-ROM | disk | FTP | other *** search
-
- REM this is a plane-at-a-time wipe routine
- REM to use, include in your script, and then
- REM set the variable "plafrom" to be the
- REM number of the buffer to wipe from, and then
- REM do a GOSUB 9200.
-
- REM uses variables: plaw, plah, plad, plafrom, plac
- REM and line number 9200. Also sets FIXPALETTE 0
- REM and PLANES -1 when done.
-
- 9200 resolution -1,plaw,plah,plad
- playb=1:rem plane mask
- fixpalette 1
- for plac=1 to plad
- planes playb
- if plac=plad/2:fixpalette 0:endif
- wipe plafrom,0,0,0,0,-1,-1,320,(plac-1)%4
- playb=playb+playb:rem next plane
- next
- planes -1
- return
-
-